package chunk

import (
	"mig/pkg/types"
)

type CommonChunk struct {
	records []*types.Record
}

func NewCommonChunk() *CommonChunk {
	return &CommonChunk{}
}

func (c *CommonChunk) Digest() *types.DigestNode {
	return nil
}

func (c *CommonChunk) Print() {
	for _, record := range c.records {
		record.Print()
	}
}

func (c *CommonChunk) Records() []*types.Record {
	return c.records
}

func (c *CommonChunk) AddRecord(record *types.Record) {
	c.records = append(c.records, record)
}

func (c *CommonChunk) Finalize() {}
